import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import _createClass from "@babel/runtime/helpers/esm/createClass";
import _inherits from "@babel/runtime/helpers/esm/inherits";
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
import React from 'react';
import { Switch as CpaasSwitch } from 'antd';

var Switch = /*#__PURE__*/function (_React$Component) {
  _inherits(Switch, _React$Component);

  var _super = _createSuper(Switch);

  function Switch() {
    _classCallCheck(this, Switch);

    return _super.apply(this, arguments);
  }

  _createClass(Switch, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/React.createElement(CpaasSwitch, Object.assign({}, this.props, {
        unCheckedValue: 0,
        checkedValue: 1
      }));
    }
  }]);

  return Switch;
}(React.Component);

Switch.displayName = 'CpaasSwitch';
export { Switch as default };